// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__756419F4_82F0_4F41_8918_73E27871FF71__INCLUDED_)
#define AFX_STDAFX_H__756419F4_82F0_4F41_8918_73E27871FF71__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#define WM_LOCFILE_LIST         WM_USER+ 100
#define WM_SERVFILE_LIST        WM_USER+ 101
#define WM_SERVFILE_CLEAR       WM_USER+ 102
#define WM_SERVFILE_SETPATH     WM_USER+ 103
#define WM_QUEUE_LIST           WM_USER+ 104
#define WM_FTP_STATUS			WM_USER+ 105
#define WM_DOWNLOAD_FINISHED	WM_USER+ 106
#define WM_UPLOAD_FINISHED		WM_USER+ 107
#define WM_GO			        WM_USER+ 108
#define MYWM_NOTIFYICON			WM_USER+ 109
#define WM_STATUS_SPEED			WM_USER+ 110
#define WM_QUEUE_INFO           WM_USER+ 111

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxsock.h>		// MFC socket extensions
#include <afxcview.h>
#include <afxinet.h>
#include "greenFtpDoc.h"
#include "greenFtpView.h"
#include "FtpConfig.h"

extern int GetIconIndex(LPCTSTR lpszPath, BOOL bIsDir, BOOL bSelected = FALSE);
extern char* GetTypeName(CString strPath);
extern void GetFileIcon(CString& fileName,int* iIcon,int* iIconSel);
extern void GetFileIcon1(CString& fileName,/*int nDir,*/int* iIcon,int* iIconSel);
extern CString GetCurrWorkingDir();
extern BOOL IsConnected();
extern CString FormatFileSize(double i);
extern CString NumFormat(double i);
extern CFtpConfig* m_pFtpConfig;
char* FormatWithCommas(DWORD dwSize);
void Delay(DWORD nTimeMs);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__756419F4_82F0_4F41_8918_73E27871FF71__INCLUDED_)
